package com.bzkj.basicinfo.domain.basic;

import com.bzkj.basicinfo.domain.basic.vo.WmsRuleVo;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * 仓库规则表
 *
 * @TableName basic_sto_stock_rule
 */
@Data
public class WmsRuleEntity implements Serializable
{
    /**
     * 主键
     */
    private Integer id;

    /**
     * 规则名称
     */
    private String ruleName;

    /**
     * 父标识
     */
    private Integer parentId;

    /**
     * 排序规则
     */
    private Integer sort;

    /**
     * 状态标识
     */
    private Integer enableStatus;


    private List<WmsRuleVo> children = new ArrayList<>();

    private static final long serialVersionUID = 1L;
}